package com.amadeus.spin.util.soapshooter;

/**
 * <p>
 * Title: IShooter
 * </p>
 * <p>
 * Description: Interface for requests (SOAP)
 * <p>
 * Copyright: Copyright (c) 2001
 * </p>
 * <p>
 * Company: eTravel
 * </p>
 * 
 * @author SF
 * @version 1.0
 */
public interface Shooter {

  /**
   * Get the JSESSIONID Cookie (if available)
   * 
   * @return The JSESSIONID cookie or null if not available
   */
  public String getSessionCookie();

  /**
   * Shoot a request
   * 
   * @param request
   *          The request
   * @return The result
   */
  public String sendRequest(String request) throws ShooterException;
}